package com.zbu.demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:在同一个包中，private、default、public的使用
 * User: 86183
 */
public class Test2 {
    public static void main(String[] args) {
   Cat cat = new Cat("小咪",2,"黑色");
        System.out.println(cat.name);
       /* System.out.println(cat.age);*/
        System.out.println(cat.color);
    }


}
